﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Zeenck.Models.Login>" %>

<%Html.BeginForm("Submit", "Login"); %>
<fieldset>
<legend><%:Html.LoginTitle() %></legend>

    <div class="editor-label">
        <%:Html.LabelFor(model => model.UserName) %>  
    </div>
    <div class="editor-field">
        <%:Html.EditorFor(model => model.UserName) %> 
        <%= Html.ValidationMessageFor(model => model.UserName) %>
    </div>

    <div class="editor-label">
        <%:Html.LabelFor(model => model.Password) %> 
    </div>
    <div class="editor-field">
        <%:Html.EditorFor(model => model.Password) %> 
        <%= Html.ValidationMessageFor(model => model.Password) %> 
    </div>

    <div>
        <%:Html.LabelFor(model => model.RememberMe) %> 
        <%:Html.EditorFor(model => model.RememberMe) %> 
    </div>  
      
    <div class="buttons">
        <div class="resetPW">
            <span><%:Html.ForgotPasswordText() %></span>
            <%: Html.ActionLink("Recover your password here.", "VerifyEmailBegin", "ResetPassword") %>
        </div>
        <%:Html.InputButton("submit", "Login")%></div>

</fieldset>
<%Html.EndForm(); %>

